/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.rainbowsheep.reisorg.rest.service.repository;

import java.util.List;
import nl.rainbowsheep.reisorg.rest.service.model.Customer;
import nl.rainbowsheep.reisorg.rest.service.model.TripBooking;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 *
 * @author ieme
 */
public interface TripBookingRepository extends JpaRepository<TripBooking, Long> {

    List<TripBooking> findByCustomerId(long customerId);
}
